package com.test.controller;

import com.test.dao.AtmDao;
import com.test.entity.AtmEntity;
import com.test.entity.UserEntity;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class LoginController {



    @RequestMapping(value = "/login",method = RequestMethod.POST)
    public Object login(UserEntity user) {
       System.out.println(user);
       System.out.println("进入login 结束");
        return "main";
    }



}
